from django.shortcuts import render
from .models import Article

# Create your views here.
def index(request):
    latest_question_list = Article.objects.all()
    context = {'latest_question_list': latest_question_list}
    return render(request, 'article/index.html', context)